<?php

use yii\helpers\Html;
use yii\grid\GridView;
use yii\widgets\Pjax;

?>

<?php Pjax::begin([
    'options' => ['id' => 'testid222'],
    'enablePushState' => false, // to disable push state
    'enableReplaceState' => false, // to disable replace state
]);?>

<?=GridView::widget([
    'dataProvider' => $dataProvider,
    'filterModel' => $searchModel,
    'columns' => [
        ['class' => 'yii\grid\SerialColumn'],

        'id',
        'order_sn',
        'order_type',
        'order_status',

        ['class' => 'yii\grid\ActionColumn'],
    ],
]);?>
<?php Pjax::end();?>